<?php

class Application_Model_bean_PhieuDatHang {
	private $maPhieuDatHang;
	private $ngayTao;
	private $giaTri;
	private $trangThai; //đã được xử lý hay chưa
	private $biHuyHayChua;
	private $maKhachHang;
	private $maTaiKhoan;
	private $chiTietPhieuDatHang;
	
	public function __constructor() {
		$chiTietPhieuDatHang = array ();
	}
	
	/**
	 * @return the $maPhieuDatHang
	 */
	public function getMaPhieuDatHang() {
		return $this->maPhieuDatHang;
	}
	
	/**
	 * @return the $ngayTao
	 */
	public function getNgayTao() {
		return $this->ngayTao;
	}
	
	/**
	 * @return the $giaTri
	 */
	public function getGiaTri() {
		return $this->giaTri;
	}
	
	/**
	 * @return the $trangThai
	 */
	public function getTrangThai() {
		return $this->trangThai;
	}
	
	/**
	 * @return the $biHuyHayChua
	 */
	public function getBiHuyHayChua() {
		return $this->biHuyHayChua;
	}
	
	/**
	 * @param $maPhieuDatHang the $maPhieuDatHang to set
	 */
	public function setMaPhieuDatHang($maPhieuDatHang) {
		$this->maPhieuDatHang = $maPhieuDatHang;
	}
	
	/**
	 * @param $ngayTao the $ngayTao to set
	 */
	public function setNgayTao($ngayTao) {
		$this->ngayTao = $ngayTao;
	}
	
	/**
	 * @param $giaTri the $giaTri to set
	 */
	public function setGiaTri($giaTri) {
		$this->giaTri = $giaTri;
	}
	
	/**
	 * @param $trangThai the $trangThai to set
	 */
	public function setTrangThai($trangThai) {
		$this->trangThai = $trangThai;
	}
	
	/**
	 * @param $biHuyHayChua the $biHuyHayChua to set
	 */
	public function setBiHuyHayChua($biHuyHayChua) {
		$this->biHuyHayChua = $biHuyHayChua;
	}
	/**
	 * @return the $maKhachHang
	 */
	public function getMaKhachHang() {
		return $this->maKhachHang;
	}
	
	/**
	 * @return the $maTaiKhoan
	 */
	public function getMaTaiKhoan() {
		return $this->maTaiKhoan;
	}
	
	/**
	 * @param $maKhachHang the $maKhachHang to set
	 */
	public function setMaKhachHang($maKhachHang) {
		$this->maKhachHang = $maKhachHang;
	}
	
	/**
	 * @param $maTaiKhoan the $maTaiKhoan to set
	 */
	public function setMaTaiKhoan($maTaiKhoan) {
		$this->maTaiKhoan = $maTaiKhoan;
	}
	/**
	 * @return the $chiTietPhieuDatHang
	 */
	public function getChiTietPhieuDatHang() {
		return $this->chiTietPhieuDatHang;
	}
	
	/**
	 * @param $chiTietPhieuDatHang the $chiTietPhieuDatHang to set
	 */
	public function setChiTietPhieuDatHang($chiTietPhieuDatHang) {
		$this->chiTietPhieuDatHang = $chiTietPhieuDatHang;
	}
	public function addChiTietPhieuDatHang($chiTietPDH){
		$chiTietPhieuDatHang=$this->getChiTietPhieuDatHang();
		$chiTietPhieuDatHang[]=$chiTietPDH;
	}
}

?>